Skip to content

squelch router advertisements on uplink ports#236

Merged
rcgoodfellow merged 1 commit intomainfrom
ry/disable-host-route-exchange-for-uplinks
Mar 8, 2026
Merged

squelch router advertisements on uplink ports#236
rcgoodfellow merged 1 commit intomainfrom
ry/disable-host-route-exchange-for-uplinks

Conversation

@rcgoodfellow
Copy link
Copy Markdown
Contributor

@rcgoodfellow rcgoodfellow commented Mar 7, 2026

Fixes

by disabling the exchange_routes interface property on uplinks in uplinkd.

I considered turning off exchange_routes for tfport_rear interfaces also, but any reason to do that at this time would be speculative as we don't anticipate activity on the underlay that would require changing the default value.

@rcgoodfellow rcgoodfellow force-pushed the ry/disable-host-route-exchange-for-uplinks branch from fc2f18b to c2aa523 Compare March 8, 2026 04:14
@rcgoodfellow
Copy link
Copy Markdown
Contributor Author

Tested in a4x2. Everything comes up and the links for an IPv6 unnumbered configuration look like this.

root@oxz_switch:~# ipadm
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
lo0/v6            static   ok           ::1/128
oxBootstrap0/ll   addrconf ok           fe80::8:20ff:fefc:8a9c%oxBootstrap0/10
oxBootstrap0/bootstrap6 static ok       fdb0:a840:2500:1::2/64
oxControlService0/ll addrconf ok        fe80::8:20ff:feba:f97%oxControlService0/10
oxControlService0/omicron6 static ok    fd00:17:1:d01::2/64
tfportint0_0/ll   addrconf ok           fe80::aa40:25ff:fe7f:36f%tfportint0_0/10
tfportrear0_0/ll  addrconf ok           fe80::aa40:25ff:fe7f:370%tfportrear0_0/10
tfportrear1_0/ll  addrconf ok           fe80::aa40:25ff:fe7f:371%tfportrear1_0/10
tfportrear2_0/ll  addrconf ok           fe80::aa40:25ff:fe7f:372%tfportrear2_0/10
tfportrear3_0/ll  addrconf ok           fe80::aa40:25ff:fe7f:373%tfportrear3_0/10
tfportqsfp0_0/ll  addrconf ok           fe80::aa40:25ff:fe7f:390%tfportqsfp0_0/10
tfportqsfp1_0/ll  addrconf ok           fe80::aa40:25ff:fe7f:394%tfportqsfp1_0/10
root@oxz_switch:~# ipadm show-ifprop -p exchange_routes
IFNAME      PROPERTY        PROTO PERM CURRENT    PERSISTENT DEFAULT    POSSIBLE
lo0         exchange_routes ipv4  rw   on         --         on         on,off
lo0         exchange_routes ipv6  rw   on         --         on         on,off
oxBootstrap0 exchange_routes ipv4 rw   on         --         on         on,off
oxBootstrap0 exchange_routes ipv6 rw   on         --         on         on,off
oxControlService0 exchange_routes ipv4 rw on      --         on         on,off
oxControlService0 exchange_routes ipv6 rw on      --         on         on,off
tfportint0_0 exchange_routes ipv4 rw   on         --         on         on,off
tfportint0_0 exchange_routes ipv6 rw   on         --         on         on,off
tfportrear0_0 exchange_routes ipv4 rw  on         --         on         on,off
tfportrear0_0 exchange_routes ipv6 rw  on         --         on         on,off
tfportrear1_0 exchange_routes ipv4 rw  on         --         on         on,off
tfportrear1_0 exchange_routes ipv6 rw  on         --         on         on,off
tfportrear2_0 exchange_routes ipv4 rw  on         --         on         on,off
tfportrear2_0 exchange_routes ipv6 rw  on         --         on         on,off
tfportrear3_0 exchange_routes ipv4 rw  on         --         on         on,off
tfportrear3_0 exchange_routes ipv6 rw  on         --         on         on,off
tfportqsfp0_0 exchange_routes ipv4 rw  off        --         on         on,off
tfportqsfp0_0 exchange_routes ipv6 rw  off        --         on         on,off
tfportqsfp1_0 exchange_routes ipv4 rw  off        --         on         on,off
tfportqsfp1_0 exchange_routes ipv6 rw  off        --         on         on,off

@rcgoodfellow rcgoodfellow marked this pull request as ready for review March 8, 2026 16:19
@rcgoodfellow
Copy link
Copy Markdown
Contributor Author

IPv4 setup also looks good.

root@oxz_switch:~# ipadm
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
tfportqsfp0_0/uplink1 static ok         198.51.101.2/30
tfportqsfp1_0/uplink1 static ok         198.51.101.10/30
lo0/v6            static   ok           ::1/128
oxBootstrap0/ll   addrconf ok           fe80::8:20ff:feaa:a445%oxBootstrap0/10
oxBootstrap0/bootstrap6 static ok       fdb0:a840:2500:1::2/64
oxControlService0/ll addrconf ok        fe80::8:20ff:fe6c:b97e%oxControlService0/10
oxControlService0/omicron6 static ok    fd00:17:1:d01::2/64
tfportint0_0/ll   addrconf ok           fe80::aa40:25ff:fe15:d768%tfportint0_0/10
tfportrear0_0/ll  addrconf ok           fe80::aa40:25ff:fe15:d769%tfportrear0_0/10
tfportrear1_0/ll  addrconf ok           fe80::aa40:25ff:fe15:d76a%tfportrear1_0/10
tfportrear2_0/ll  addrconf ok           fe80::aa40:25ff:fe15:d76b%tfportrear2_0/10
tfportrear3_0/ll  addrconf ok           fe80::aa40:25ff:fe15:d76c%tfportrear3_0/10
root@oxz_switch:~# ipadm show-ifprop -p exchange_routes
IFNAME      PROPERTY        PROTO PERM CURRENT    PERSISTENT DEFAULT    POSSIBLE
lo0         exchange_routes ipv4  rw   on         --         on         on,off
lo0         exchange_routes ipv6  rw   on         --         on         on,off
oxBootstrap0 exchange_routes ipv4 rw   on         --         on         on,off
oxBootstrap0 exchange_routes ipv6 rw   on         --         on         on,off
oxControlService0 exchange_routes ipv4 rw on      --         on         on,off
oxControlService0 exchange_routes ipv6 rw on      --         on         on,off
tfportint0_0 exchange_routes ipv4 rw   on         --         on         on,off
tfportint0_0 exchange_routes ipv6 rw   on         --         on         on,off
tfportrear0_0 exchange_routes ipv4 rw  on         --         on         on,off
tfportrear0_0 exchange_routes ipv6 rw  on         --         on         on,off
tfportrear1_0 exchange_routes ipv4 rw  on         --         on         on,off
tfportrear1_0 exchange_routes ipv6 rw  on         --         on         on,off
tfportrear2_0 exchange_routes ipv4 rw  on         --         on         on,off
tfportrear2_0 exchange_routes ipv6 rw  on         --         on         on,off
tfportrear3_0 exchange_routes ipv4 rw  on         --         on         on,off
tfportrear3_0 exchange_routes ipv6 rw  on         --         on         on,off
tfportqsfp0_0 exchange_routes ipv4 rw  off        --         on         on,off
tfportqsfp0_0 exchange_routes ipv6 rw  off        --         on         on,off
tfportqsfp1_0 exchange_routes ipv4 rw  off        --         on         on,off
tfportqsfp1_0 exchange_routes ipv6 rw  off        --         on         on,off

@rcgoodfellow rcgoodfellow requested a review from Nieuwejaar March 8, 2026 16:36
@rcgoodfellow rcgoodfellow added this to the 19 milestone Mar 8, 2026
@rcgoodfellow rcgoodfellow merged commit c0bf0a3 into main Mar 8, 2026
6 checks passed
@rcgoodfellow rcgoodfellow deleted the ry/disable-host-route-exchange-for-uplinks branch March 8, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants